package com.atguigu.tingshu.search.service;

import com.atguigu.tingshu.model.search.AlbumInfoIndex;
import com.atguigu.tingshu.query.search.AlbumIndexQuery;
import com.atguigu.tingshu.vo.album.TrackStatMqVo;
import com.atguigu.tingshu.vo.search.AlbumInfoIndexSearchVo;
import com.atguigu.tingshu.vo.search.AlbumInfoIndexVo;
import com.atguigu.tingshu.vo.search.AlbumSearchResponseVo;

import java.util.List;

public interface SearchService {


    //上架专辑
    void upperAlbum(Long albumId);

    //下架专辑
    void getLower(Long albumId);

    //专辑列表搜索
    AlbumSearchResponseVo searchAlbumInfo(AlbumIndexQuery albumIndexQuery);
    //获取频道页数据
    List<AlbumInfoIndexSearchVo> channel(Long category1Id);
    //关键字自动补全功能
    List<String> completeSuggest(String keyword);

    //更新排行榜
    void updateLatelyAlbumRanking();
    //获取排行榜列表
    List<AlbumInfoIndex> findRankingList(Long category1Id, String dimension);

    void albumStatUpdate(TrackStatMqVo trackStatMqVo);
}
